package com.cn.lyl.lawyer.dao;

import com.cn.lyl.lawyer.model.entity.ServiceModel;
import com.cn.lyl.lawyer.model.vo.NewsTypeVo;
import com.cn.lyl.lawyer.model.vo.ServiceTypeVo;

import javax.xml.ws.Service;
import java.util.List;

public interface ServiceMapper {

    int add(ServiceModel serviceModel);
    int update(ServiceModel serviceModel);
    int delete(Integer id);
    ServiceTypeVo findById(Integer id);
    ServiceModel findNewest();
    List<ServiceTypeVo> findAll(ServiceTypeVo serviceTypeVo);
    int countFindAll(ServiceTypeVo serviceTypeVo);
}
